<%@ page contentType="text/html; charset=UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<%@ include file="/app/include.jsp"%>
		<script type="text/javascript">
        	window.UEDITOR_HOME_URL = ctx + "/common/ueditor/";
        </script>
        <script src="<%=basePath%>/common/ueditor/ueditor.files.js"></script>
	</head>
	<body style="overflow-x: hidden;">
		<div class="cotnent">
			<br />
			<form id="modelForm" name="modelForm">
				<input id="id" name="id" type="hidden" value="${dssinfo.id}" />
				<table width="100%" border="0" cellpadding="0" cellspacing="0">
					<tr>
						<th width="20%">
							<span class="red">*</span> 名称
						</th>
						<td>
							<input type="text" name="dssname" id="dssname" value="${dssinfo.dssname}" style="width: 80%" />
						</td>
					</tr>
					<tr>
						<th>
							别名
						</th>
						<td>
							<input type="text" name="synname" id="synname" value="${dssinfo.synname}" style="width: 80%" />
						</td>
					</tr>
					<tr>
						<th>
							编码
						</th>
						<td>
							<input type="text" name="codestr" id="codestr" value="${dssinfo.codestr}" style="width: 80%" />
						</td>
					</tr>
					<tr>
						<th>
							英文名称
						</th>
						<td>
							<input type="text" name="dssname_eng" id="dssname_eng" value="${dssinfo.dssname_eng}" style="width: 80%" />
						</td>
					</tr>
					<tr>
						<th>
							<span class="red">*</span> 分类
						</th>
						<td>
							<open:select valueset="[病症证类别]" name="catagory" id="catagory" selectedValue="${dssinfo.catagory}"/>
						</td>
					</tr>
					<tr>
						<th>
							来源
						</th>
						<td>
							<input type="text" name="comfrom" id="comfrom" value="${dssinfo.comfrom}" style="width: 80%" /> 
						</td>
					</tr>
					<tr>
						<th>
							定义
						</th>
						<td>
							<textarea name="desccontent" id="desccontent">${dssinfo.desccontent}</textarea>
						</td>
					</tr>
					<script type="text/javascript">
					var ue = UE.getEditor('desccontent', {  
			            initialContent : '',//初始化编辑器的内容  
			            initialFrameHeight:300, 
			            initialFrameWidth:600, 
			            minFrameHeight : 150,//设置高度  
			            textarea : 'desccontent',//设置提交时编辑器内容的名字，之前我们用的名字是默认的editorValue  
			            elementPathEnabled:false,
			            autoHeightEnabled:false,
			            autoFloatEnabled:false,
			            wordCount:false,
			            pasteplain:true, 
			            imagePopup:true,
			            allHtmlEnabled:false,
			            toolbars:[['bold','italic','underline','|','forecolor','|','insertunorderedlist','insertorderedlist','fontsize','imagenone','imageleft','imagecenter','imageright','fontfamily','justifyleft','justifycenter','justifyright','insertimage','background','wordimage','horizontal']]
			        });
					ue.ready(function(){
						if (UE.browser.ie && UE.browser.version <= 7){
							FixIe7Bug();
						 }
					}) 
				</script>
				</table>
			</form>
		</div>
	</body>
</html>


